package com.supermap.dataservice.common.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author:langhongshuai
 * @Description:意见数据访问层
 * @Date:18/3/12 上午11:25
 */
@Mapper
public interface SuggestionDao {

    /**
     * 添加意见内容
     * @param comment
     */
    @Insert("Insert into t_suggestion(userId,comment) values(#{userId},#{comment});")
    public void saveSuggestion(@Param("comment") String comment, @Param("userId") String userId);
}
